#!/bin/bash

image_list=$(ls *.pcm)

for imag in ${image_list}
do
    if test -f $imag
    then
        xxd -i  ${imag} >> $imag.c
    fi
done